<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page errorPage="../error/404.jsp"%>
<!DOCTYPE html>
<html>
<head>	
<meta charset="utf-8">
<title>修改用户资料</title>
<%@ include file="common/head.jsp" %>
  <script src="/layui/layui.js" type="text/javascript" ></script>
	</head>
	<body>
		
		 <div  id="main">
      <div class="row">
        <form method="post" class="layui-form" id="members">
        <input type="hidden" name="id"  id="id" value="${user.uid}"/>
          <div class="col-md-9">
            <h1 class="page-header">修改用户资料</h1>
            <div class="form-group">
              <label for="article-title" class="sr-only">昵称</label>
              <input type="text" id="nickname" name="nickname" value="${user.nickname}" class="form-control" placeholder="在此处输入昵称" required autofocus autocomplete="off">
            </div>
                  <div class="form-group">
              <label for="article-title" class="sr-only">QQ号</label>
              <input type="text" id="sex" name="sex" class="form-control" value="${user.sex}" placeholder="在此处输入QQ号" required autofocus autocomplete="off">
            </div>
       
               <div class="form-group">
              <label for="article-title" class="sr-only">毕业学校</label>
              <input type="text" id="school" name="school" class="form-control" value="${user.school}" placeholder="在此处输入毕业学校" required autofocus autocomplete="off">
            </div>
            
               <div class="form-group">
              <label for="article-title" class="sr-only">配偶</label>
              <input type="text" id="love" name="love" class="form-control" value="${user.love}" placeholder="在此处输入配偶姓名" required autofocus autocomplete="off">
        
               </div>
               
                   <div class="form-group">      
                       
                     
                                    <input type="file" name="pic" id="test3" placeholder="头像地址" 
                                           autocomplete="off" class="form-control">
                                           <input type="text" name="picpath" id="picpath" placeholder="头像地址" 
                                           autocomplete="off" class="form-control" >
                                            <img alt="" src="?" name="showimg" id="showimg" style="width:100px;height:100px;">
                                            <img alt="" src="${user.picpath}"  style="width:100px;height:100px;">
                    
                        
               
               
               </div>
               
               <div class="form-group">
              <label for="article-title" class="sr-only">手机号</label>
              <input type="text" id="phone" name="phone" value="${user.telphone}" class="form-control" placeholder="在此处输入手机号" required autofocus autocomplete="off">
        
               </div>
                 <div class="form-group">
              <label for="article-title" class="sr-only">职业</label>
              <input type="text" id="occupation" name="occupation" value="${user.occupation}" class="form-control" placeholder="在此处输入职业" required autofocus autocomplete="off">
        
               </div>
                 <div class="form-group">
              <label for="article-title" class="sr-only">经验</label>
              <input type="text" id="experence" name="experence" value="${user.experence}" class="form-control" placeholder="在此处输入经验" required autofocus autocomplete="off">
        
               </div>
                      <div class="form-group">
              <label for="article-title" class="sr-only">家庭地址</label>
              <input type="text" id="address" name="address" value="${user.address}" class="form-control" placeholder="在此处输入家庭地址" required autofocus autocomplete="off">
        
               </div>
                      <div class="form-group">
              <label for="article-title" class="sr-only">个人介绍</label>
        	<textarea class="form-control"  id="alt" name="alt" placeholder="在此处输入个人介绍" required autofocus autocomplete="off">${user.alt}</textarea>
               </div>
               </div>
          <div class="col-md-3">
            <h1 class="page-header">操作</h1>
       
          
      
            <div class="add-article-box">
              <h2 class="add-article-box-title"><span>修改</span></h2>
              <div class="add-article-box-content">
              	<p><label>修改人：</label><span class="article-status-display">${user.username}</span></p>             
            
              </div>
              <div class="add-article-box-footer">
                <button class="btn btn-primary" type="button"  lay-filter="UpdateMembers">发布</button>
              </div>
            </div>
          </div>
        </form>
      </div>
    </div>

		
		
		
		
	</body>
	<script type="text/javascript" src="/js/MemberLogin/editMemberInfo.js"></script>
</html>
